package com.example.permissionsystem1_1.businessFunction.dao.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.permissionsystem1_1.common.entity.BasePo;
import com.example.permissionsystem1_1.common.entity.BaseTreeStructurePo;
import lombok.Data;

import java.util.List;


@Data
@TableName("function_info")
public class FunctionInfoPo extends BaseTreeStructurePo<FunctionInfoPo> {
    /**
     * 功能名称
     */
    private String functionName;
    /**
     * 功能编码
     */
    private String functionCode;
    /**
     * 功能描述
     */
    private String functionDesc;
    /**
     * 功能后端路径
     */
    private String functionUrl;
    /**
     * 功能前端路径
     */
    private String functionPath;

    //进行关联查询的字段
    private Long userId;

    @TableField(exist = false)
    private List<RoleInfoPo> roleInfoPos;


}
